layui.define(['exutil'], function(exports) {
	var sysUser = {},
		exutil = layui.exutil;
	
	// 登录
	sysUser.login = function(opts){
		return exutil.post('/api/sys/user/login', opts, 'query');
	};
	
	// 登出
	sysUser.logout = function(){
		return exutil.post('/api/sys/user/loginOut');
	}
	
	exports('sysUser', sysUser);
});